#pragma once
#ifndef __VIEWPORT_H
#define __VIEWPORT_H
#include <d3d9.h>

class Viewport
{
private:
	int _posX;
	int _posY;
	int _width;
	int _height;

public:
	Viewport(int x, int y, int width, int height);
	~Viewport();
	RECT Rect();

	void SetPosX(int x){ _posX = x; }
	int GetPosX(){ return _posX; }

	void SetPosY(int y){ _posY = y; }
	int GetPosY(){ return _posY; }
};
#endif
